import request from "@/utils/request";

// 查询车间或产线当月生产状态
export function listLineProduceStatus(data) {
  return request({
    url: "plan/produceLineOffInfo/listLineProduceStatus",
    method: "post",
    data: data,
  });
}

// 修改车间或产线当月生产状态
export function changeLineProduceStatus(data) {
  return request({
    url: "plan/produceLineOffInfo/changeLineProduceStatus",
    method: "post",
    data: data,
  });
}

//获取车间当日人员安排
export function getDaylyUserArrangement(data) {
  return request({
    url: "plan/data/workshop/getDaylyUserArrangement",
    method: "post",
    data: data,
  });
}

// 保存车间产线当日人员安排
export function saveDaylyUserArrangement(data) {
  return request({
    url: "plan/data/workshop/saveDaylyUserArrangement",
    method: "post",
    data: data,
  });
}
